package com.yzh.croom.service;

import com.yzh.croom.model.domain.Message;
import org.apache.ibatis.annotations.DeleteProvider;

import java.util.List;

public interface MessageService {
    public List<Message> getUnReadMessage();

    public int updateById(int id);

    public List<Message> getIsReadMessage();

    public int deleteMessageByIds(String[] ids);

    public List<Message> getMessageByAccountAndStatus(String account,int status);

    public int insertMsg(Message message);
}
